package com.tjbank.cssys.repository;

import com.tjbank.cssys.domain.CkCreditRecoverMoney;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CkCreditRecoverMoneyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkCreditRecoverMoney record);

    int insertSelective(CkCreditRecoverMoney record);

    CkCreditRecoverMoney selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkCreditRecoverMoney record);

    int updateByPrimaryKey(CkCreditRecoverMoney record);

    /**
     * 查询还款人列表
     * @param params
     * @return
     */
    List<Map<String,Object>> selectRePeoples(Map<String,String> params);

    /**
     * 查询还款记录列表
     * @param params
     * @return
     */
    List<Map<String,Object>> selectReList(Map<String,String> params);
}